<div class="view">

	<table class="collapse">
		<tr>
			<td class="top">
				<div class="span-3 center">
					<?php
					$default = Yii::app()->request->hostInfo;
					$default .= Yii::app()->getModule('qa')->assetsUrl;
					$default .= '/images/gravatar-110.png';
					$userClass = Yii::app()->getModule('qa')->userClass;
					$userModel = call_user_func(array($userClass, 'model'));
					$user = $userModel->findByPk(Yii::app()->user->id);
					$firstname = CHtml::encode($user->profile->firstname);
					$config = array(
						'email'=>$user->email,
						'hashed'=>false,
						'default'=>$default,
						'size'=>110,
						'rating'=>'PG',
						'htmlOptions'=>array(
							'alt'=>"$firstname Avatar",
							'title'=>CHtml::encode($firstname),
							'class'=>'round stroke'
						),
					);
					$this->widget('qa.widgets.GravatarWidget', $config);
					?>
					<div>
						<b>
							<?php echo CHtml::encode($firstname); ?>
						</b>
					</div>
				</div>

				<div class="clear"></div>
			</td>
			<td class="full top">
				<div id="value"></div>
			</td>
		</tr>
	</table>

</div>